Part Number Hot Search : 
58004 W2416 05000 CY62256V GPP100D XFTPR SSM3K12T AD1881
Product Description
Full Text Search
 

To Download AIS328DQ Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  this is information on a product in full production. april 2012 doc id 18160 rev 3 1/43 43 AIS328DQ high-performance ultra low-power 3-axis accelerometer with digital output for automotive applications datasheet ? production data features wide supply voltage range: 2.4 v to 3.6 v low voltage compatible ios: 1.8 v ultra low-power mode consumption: down to 10 a 2 g /4 g / 8 g dynamically selectable full-scale spi / i 2 c digital output interface 16-bit data output 2 independent programmable interrupt generators system sleep/wakeup function extended temperature range: -40 c to 105 c embedded self-test high shock survivability: up to 10000 g ecopack ? rohs and ?green? compliant aec-q100 qualification applications telematics and black boxes in-dash car navigation tilt / inclination measurement anti-theft devices intelligent power saving impact recognition and logging vibration monitoring and compensation motion-activated functions description the AIS328DQ is an ultra low-power high performance 3-axis linear accelerometer with a digital serial interface spi standard output. an i 2 c compatible interface is also available. the device features ultra low-power operational modes that allow advanced power saving and smart sleep-to- wakeup functions. the AIS328DQ has dynamic user-selectable full-scales of 2 g /4 g /8 g and is capable of measuring accelerations with output data rates from 0.5 hz to 1 khz. the self-test capability allows the user to check the functioning of the sensor in the final application. the device may be configured to generate an interrupt signal through inertial wakeup events, or by the position of the device itself. thresholds and the timing of interrupt generators are programmable by the end user on-the-fly. available in a small quad flat pack no-lead package (qfpn) with a 4x4 mm footprint, the AIS328DQ is able to respond to the trend towards application miniaturization, and is guaranteed to operate over a temperature range from -40 c to +105 c. qfn 24 (4 x 4 x 1.8 mm 3 ) table 1. device summary order codes temperature range [ c] package packaging AIS328DQ -40 to +105 qfpn 4x4x1.8 24l tray AIS328DQtr -40 to +105 qfpn 4x4x1.8 24l tape and reel www.st.com
contents AIS328DQ 2/43 doc id 18160 rev 3 contents 1 block diagram and pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.1 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.2 pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2 mechanical and electrical specifications . . . . . . . . . . . . . . . . . . . . . . . . 8 2.1 mechanical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.2 electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.3 communication interface characteristics . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.3.1 spi - serial peripheral interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.3.2 i2c - inter ic control interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.4 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.5 terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.5.1 sensitivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.5.2 zero-g level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.5.3 self-test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.5.4 sleep-to-wakeup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3 functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.1 sensing element . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.2 ic interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.3 factory calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 4 application hints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 5 digital interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 5.1 i2c serial interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 5.1.1 i2c operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 5.2 spi bus interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 5.2.1 spi read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 5.2.2 spi write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 5.2.3 spi read in 3-wire mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 6 register mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
AIS328DQ contents doc id 18160 rev 3 3/43 7 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 7.1 who_am_i (0fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 7.2 ctrl_reg1 (20h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 7.3 ctrl_reg2 (21h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 7.4 ctrl_reg3 [interrupt ctrl register] (22h) . . . . . . . . . . . . . . . . . . . . . . 27 7.5 ctrl_reg4 (23h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 7.6 ctrl_reg5 (24h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 7.7 hp_filter_reset (25h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 7.8 reference (26h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 7.9 status_reg (27h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 7.10 out_x_l (28h), out_x_h (29) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 7.11 out_y_l (2ah), out_y_h (2bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 7.12 out_z_l (2ch), out_z_h (2dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 7.13 int1_cfg (30h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 7.14 int1_src (31h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 7.15 int1_ths(32h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 7.16 int1_duration (33h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 7.17 int2_cfg (34h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 7.18 int2_src (35h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 7.19 int2_ths (36h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 7.20 int2_duration (37h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 8 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 9 soldering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 9.1 general guidelines about soldering surface-mounted accelerometers . . 38 9.2 pcb design guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 9.2.1 pcb design rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 9.3 stencil design and solder paste application . . . . . . . . . . . . . . . . . . . . . . . 39 9.4 process considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 10 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
list of tables AIS328DQ 4/43 doc id 18160 rev 3 list of tables table 1. device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 table 2. pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 table 3. mechanical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 table 4. electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 table 5. spi slave timing values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 table 6. i2c slave timing values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 table 7. absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 table 8. serial interface pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 table 9. serial interface pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 table 10. sad+read/write patterns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 table 11. transfer when master is writing one byte to slave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 table 12. transfer when master is writing multiple bytes to slave . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 table 13. transfer when master is receiving (reading) one byte of data from slave . . . . . . . . . . . . . 19 table 14. transfer when master is receiving (reading) multiple bytes of data from slave . . . . . . . . . 19 table 15. register address map. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 table 16. who_am_i register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 table 17. ctrl_reg1 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 table 18. ctrl_reg1 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 table 19. power mode and low-power output data rate configurations . . . . . . . . . . . . . . . . . . . . . . . 26 table 20. normal-mode output data rate configurations and low-pass cut-off frequencies . . . . . . . . 26 table 21. ctrl_reg2 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 table 22. ctrl_reg2 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 table 23. high-pass filter mode configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 table 24. high-pass filter cut-off frequency configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 table 25. ctrl_reg3 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 table 26. ctrl_reg3 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 table 27. data signal on int 1 and int 2 pad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 table 28. ctrl_reg4 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 table 29. ctrl_reg4 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 table 30. ctrl_reg5 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 table 31. ctrl_reg5 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 table 32. sleep-to-wake configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 table 33. reference register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 table 34. reference description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 table 35. status_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 table 36. status_reg description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 table 37. int1_cfg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 table 38. int1_cfg description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 table 39. interrupt 1 source configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 table 40. int1_src register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 table 41. int1_src description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 table 42. int1_ths register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 table 43. int1_ths description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 44. int1_duration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 45. int2_duration description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 46. int2_cfg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 47. int2_cfg description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 48. interrupt mode configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
AIS328DQ list of tables doc id 18160 rev 3 5/43 table 49. int2_src register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 table 50. int2_src description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 table 51. int2_ths register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 table 52. int2_ths description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 table 53. int2_duration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 table 54. int2_duration description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 table 55. document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
list of figures AIS328DQ 6/43 doc id 18160 rev 3 list of figures figure 1. block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 figure 2. detectable accelerations and pin indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 figure 3. spi slave timing diagram (2). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 figure 4. i2c slave timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 figure 5. AIS328DQ electrical connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 figure 6. read and write protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 figure 7. spi read protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 figure 8. multiple byte spi read protocol (2-byte example) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 figure 9. spi write protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 figure 10. multiple bytes spi write protocol (2-byte example). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 figure 11. spi read protocol in 3-wire mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 figure 12. qfpn 4x4x1.8mm 3 , 24l: mechanical data and package dimensions . . . . . . . . . . . . . . . . 38 figure 13. recommended land and solder mask design for qfpn packages . . . . . . . . . . . . . . . . . . 40
AIS328DQ block diagram and pin description doc id 18160 rev 3 7/43 1 block diagram and pin description 1.1 block diagram figure 1. block diagram 1.2 pin description figure 2. detectable accelerations and pin indicator y+ z+ y- z - a x+ x- i2c spi cs scl/spc sda/sdo/sdi sdo/sa0 control logic interrupt gen. int 1 clock trimming circuits reference self test control logic adc int 2 mux charge amplifier am10246v1 (top view) direction of the detectable accelerations (bottom view) y 1 x z pin 1 indicator 1 6 13 18 7 12 19 24
block diagram and pin description AIS328DQ 8/43 doc id 18160 rev 3 table 2. pin description pin# name function 1,2 nc not connected 3 int_2 inertial interrupt 2 4 reserved connect to gnd 5 vdd power supply 6 gnd 0 v supply 7 int_1 inertial interrupt 1 8 gnd 0 v supply 9 gnd 0 v supply 10 gnd 0 v supply 11 spc scl spi serial port clock (spc) i2c serial clock (scl) internal active pull-up 12 cs spi enable i2c/spi mode selection (0: spi enabled; 1: i2c mode) internal active pull-up 13 reserved connect to vdd 14 vdd_io power supply for i/o pins 15 sdo sa0 spi serial data output (sdo) i2c less significant bit of the device address (sa0) internal active pull-up 16 sdi sdo sda spi serial data input (sdi) 3-wire interface serial data output (sdo) i2c serial data (sda) internal active pull-up 17-24 nc not internally connected
AIS328DQ mechanical and electrical specifications doc id 18160 rev 3 9/43 2 mechanical and electrical specifications 2.1 mechanical characteristics @ vdd=3.3 v, t=-40 c to +105 c unless otherwise noted (a) . a. the product is factory calibrated at 3.3 v. operat ional power supply (vdd) over 3.6 v is not recommended. table 3. mechanical characteristics symbol parameter test conditions min. typ. (1) max. unit fs measurement range (2) fs bit set to 00 2.0 g fs bit set to 01 4.0 fs bit set to 11 8.0 so sensitivity fs bit set to 00 12-bit representation 0.90 0.98 1.06 m g /digit fs bit set to 01 12-bit representation 1.81 1.95 2.12 fs bit set to 11 12-bit representation 3.62 3.91 4.25 off zero- g level offset accuracy (3),(4),(5) x,y axes -200 200 m g z-axis -300 300 ty o f f ty p i c a l z e r o - g level offset accuracy (5),(6) fs bit set to 00 -30 20 30 m g tcoff zero- g level change vs. temperature excursion from 25 c (x, y axes) -2 0.2 2 m g /c excursion from 25 c (z- axis) -3 0.8 3 an acceleration noise density fs bit set to 00 100 218 600 g / hz crax cross-axis (7) -5 +5 % vst self-test output change (8),(9),(10) fs bit set to 00 x-axis -500 -800 -1100 lsb fs bit set to 00 y- a x i s 500 800 1100 lsb fs bit set to 00 z-axis 400 600 800 lsb wh product weight 60 mgram top operating temperature range -40 +105 c 1. typical values are not guaranteed. 2. verified by wafer level test and measurement of initial offset and sensitivity. 3. zero- g level offset value after msl3 preconditioning. 4. zero- g level offset at the fs bit set to 01 and 11 is guaranteed by design.
mechanical and electrical specifications AIS328DQ 10/43 doc id 18160 rev 3 2.2 electrical characteristics @ vdd = 3.3 v, t = -40 c to +105 c unless otherwise noted (b) . 5. offset can be eliminated by enabling the built-in high-pass filter. 6. typical zero- g level offset as per factory calibration @ t = 25 c. 7. guaranteed by design. 8. the sign of ?self-test output change? is defined by a sign bit, for all axes. values in table 3 are defined with the stsign bit in the ctrl_reg4 register equal to logic ?0? (positive self-test), at t = 25 c. 9. self-test output changes with the power supply. ?self-test output change? is defined as output[lsb] (ctrl_reg4 st bit=1) - output[lsb] (ctrl_reg4 st bit=0) . 1lsb=4 g /4096 at 12-bit representation, 2 g full- scale. 10. output data reaches 99% of final value after 3/odr when enabling self-test mode, due to device filtering. b. the product is factory calibrated at 3.3 v. operat ional power supply (vdd) over 3.6 v is not recommended. table 4. electrical characteristics symbol parameter test conditions min. typ (1) .max.unit vdd supply voltage 2.4 3.3 3.6 v vdd_io i/o pins supply voltage (2) 1.8 vdd+0.1 v idd current consumption in normal mode 2.4 v to 3.6 v 200 450 a iddlp current consumption in low-power mode odr=1 hz, bw=500 hz, t=25 c 81012a iddpdn current consumption in power-down mode 0.1 1 2 a vih digital high level input voltage 0.8*vdd_io v vil digital low level input voltage 0.2*vdd_io v voh high level output voltage 0.9*vdd_io v vol low level output voltage 0.1*vdd_io v odr output data rate in normal mode dr bit set to 00 50 hz dr bit set to 01 100 dr bit set to 10 400 dr bit set to 11 1000 odr lp output data rate in low-power mode pm bit set to 010 0.5 hz pm bit set to 011 1 pm bit set to 100 2 pm bit set to 101 5 pm bit set to 110 10
AIS328DQ mechanical and electrical specifications doc id 18160 rev 3 11/43 2.3 communication interface characteristics 2.3.1 spi - serial peripheral interface subject to general operating conditions for vdd and top. bw system bandwidth odr/2 hz ton turn-on time (3) odr = 100 hz 0.9/odr +1 ms 1/odr+1 ms 1.1/odr +1 ms s top operating temperature range -40 +105 c 1. typical values are not guaranteed. 2. it is possible to remove vdd maintaining vdd_io without blocking the communication busses; in this condition the measurement chain is powered off. 3. time to obtain valid data after exiting power-down mode. table 4. electrical characteristics (continued) symbol parameter test conditions min. typ (1) .max.unit table 5. spi slave timing values symbol parameter value ( 1 ) unit min. max. tc(spc) spi clock cycle 100 ns fc(spc) spi clock frequency 10 mhz tsu(cs) cs setup time 6 ns th(cs) cs hold time 8 tsu(si) sdi input setup time 5 th(si) sdi input hold time 15 tv(so) sdo valid output time 50 th(so) sdo output hold time 9 tdis(so) sdo output disable time 50
mechanical and electrical specifications AIS328DQ 12/43 doc id 18160 rev 3 figure 3. spi slave timing diagram (2) 1. values are guaranteed at 10 mhz clock frequency for spi with both 4 and 3 wires, based on characterization results, not tested in production. 2. measurement points are made at 0.2vdd_io and 0.8vdd_io, for both input and output ports. 3. when no communication is ongoing, data on cs, spc, sdi and sdo are driven by internal pull-up resistors. 2.3.2 i2c - inter ic control interface subject to general operating conditions for vdd and top. s pc c s s di s do t su (c s ) t v( s o) t h( s o) t h( s i) t su ( s i) t h(c s ) t di s ( s o) t c( s pc) m s b in m s b out l s b out l s b in ( 3 ) ( 3 ) ( 3 ) ( 3 ) ( 3 ) ( 3 ) ( 3 ) ( 3 ) table 6. i2c slave timing values symbol parameter i2c standard mode (1) i2c fast mode (1) unit min. max. min. max. f (scl) scl clock frequency 0 100 0 400 khz t w(scll) scl clock low time 4.7 1.3 s t w(sclh) scl clock high time 4.0 0.6 t su(sda) sda setup time 250 100 ns t h(sda) sda data hold time 0.01 3.45 0.01 0.9 s t h(st) start condition hold time 4 0.6 s t su(sr) repeated start condition setup time 4.7 0.6 t su(sp) stop condition setup time 4 0.6 t w(sp:sr) bus free time between stop and start condition 4.7 1.3 1. data based on standard i2c protocol requirement, not tested in production.
AIS328DQ mechanical and electrical specifications doc id 18160 rev 3 13/43 figure 4. i2c slave timing diagram (c) 2.4 absolute maximum ratings stresses above those listed as ?absolute maximum ratings? may cause permanent damage to the device. this is a stress rating only and functional operation of the device under these conditions is not implied. exposure to maximum rating conditions for extended periods may affect device reliability. c. measurement points are made at 0.2vdd_io and 0.8vdd_io, for both ports. sda scl t f(sda) t su(sp) t w(scll) t su(sda) t r(sda) t su(sr) t h(st) t w(sclh) t h(sda) t r(scl) t f(scl) t w(sp:sr) start repeated start stop star t table 7. absolute maximum ratings symbol ratings maximum value unit vdd supply voltage -0.3 to 4 v vdd_io i/o pin supply voltage -0.3 to 4 v vin input voltage on any control pin (cs, scl/spc, sda/sdi/sdo, sdo/sa0) -0.3 to vdd_io +0.3 v a pow acceleration (any axis, powered, vdd = 2.5 v) (1) 3000 g for 0.5 ms 10000 g for 0.1 ms a unp acceleration (any axis, unpowered) (1) 3000 g for 0.5 ms 10000 g for 0.1 ms t op operating temperature range -40 to +105 c t stg storage temperature range -40 to +125 c esd electrostatic discharge protection 4 (hbm) kv 1.5 (cdm) kv 200 (mm) v
mechanical and electrical specifications AIS328DQ 14/43 doc id 18160 rev 3 note: supply voltage on any pin should never exceed 4.0 v. 2.5 terminology 2.5.1 sensitivity sensitivity describes the gain of the sensor and can be determined, for example, by applying a 1 g acceleration to it. as the sensor can measure dc accelerations, this can be done easily by pointing the axis of interest towards the center of the earth, noting the output value, rotating the sensor by 180 degrees (pointing to the sky) and noting the output value again. by doing so, a 1 g acceleration is applied to the sensor. subtracting the larger output value from the smaller one, and dividing the result by 2, leads to the actual sensitivity of the sensor. this value changes very little over temperature and also over time. the sensitivity tolerance describes the range of sensitivity of a large population of sensors. 2.5.2 zero- g level zero- g level offset (tyoff) describes the deviation of an actual output signal from the ideal output signal if no acceleration is present. a sensor in a steady-state on a horizontal surface measures 0 g on the x-axis and 0 g on the y-axis, whereas the z-axis measures 1 g . the output is ideally in the center of the dynamic range of the sensor (the content of the out registers is 00h, data expressed as 2?s complement number). a deviation from the ideal value in this case is called zero- g offset. offset is, to some extent, a result of stress to the mems sensor and therefore the offset can slightly change after mounting the sensor onto a printed circuit board or exposing it to extensive mechanical stress. offset changes little over temperature, see ?zero- g level change vs. temperature? in ta b l e 3 . the zero- g level tolerance (tyoff) describes the standard deviation of the range of zero- g levels of a population of sensors. 2.5.3 self-test self-test allows the sensor functionality to be tested without moving it. the self-test function is off when the self-test bit (st) of ctrl_reg4 (control register 4) is programmed to ?0?. when the self-test bit of ctrl_reg4 is programmed to ?1? an actuation force is applied to the sensor, simulating a definite input acceleration. in this case, the sensor outputs exhibit a change in their dc levels which are related to the selected full-scale through the device sensitivity. when self-test is activated, the device output level is given by the algebraic sum of the signals produced by the acceleration acting on the sensor and by the electrostatic test-force. if the output signals change within the amplitude specified in ta b l e 3 , then the sensor is working properly and the parameters of the interface chip are within the defined specifications. 1. design guarantee; characterization done at 1500 g /0.5 ms, 3000 g /0.3 ms, 10000 g /0.1 ms; tests under these conditions have passed successfully. this is a mechanical shock sensitive device, improper handling can cause permanent damage to the part. this is an esd sensitive device, improper handling can cause permanent damage to the part.
AIS328DQ mechanical and electrical specifications doc id 18160 rev 3 15/43 2.5.4 sleep-to-wakeup the ?sleep-to-wakeup? function, in conjunction with low-power mode, allows further reduction of system power consumption and development of new smart applications. the AIS328DQ may be set to a low-power operating mode, characterized by lower data rate refreshments. in this way the device, even if sleeping, continues to sense acceleration and to generate interrupt requests. when the ?sleep-to-wakeup? function is activated, the AIS328DQ is able to automatically wake up as soon as the interrupt event has been detected, increasing the output data rate and bandwidth. with this feature, the system may be efficiently switched from low-power mode to full- performance depending on user-selectable positioning and acceleration events, therefore ensuring power saving and flexibility.
functionality AIS328DQ 16/43 doc id 18160 rev 3 3 functionality the AIS328DQ is a ?nano?, low-power, digital output 3-axis linear accelerometer packaged in a qfpn package. the device includes a sensing element and an ic interface capable of taking information from the sensing element and providing a signal to external applications through an i2c/spi serial interface. 3.1 sensing element a proprietary process is used to create a surface micro-machined accelerometer. the technology makes it possible to construct suspended silicon structures which are attached to the substrate at several points called ?anchors?, and are free to move in the direction of the sensed acceleration. to be compatible with traditional packaging techniques, a cap is placed on top of the sensing element to prevent blocking of moving parts during the moulding phase of the plastic encapsulation. when an acceleration is applied to the sensor, the proof mass displaces from its nominal position, causing an imbalance in the capacitive half-bridge. this imbalance is measured using charge integration in response to a voltage pulse applied to the capacitor. at steady-state, the nominal value of the capacitors are a few pf, and when an acceleration is applied the maximum variation of the capacitive load is in the ff range. 3.2 ic interface the complete measurement chain is composed of a low-noise capacitive amplifier which converts the capacitive unbalancing of the mems sensor into an analog voltage that is made available to the user through an analog-to-digital converter. the acceleration data may be accessed through an i2c/spi interface, therefore making the device particularly suitable for direct interfacing with a microcontroller. the AIS328DQ features a data-ready signal (rdy) which indicates when a new set of measured acceleration data is available, therefore simplifying data synchronization in the digital system that uses the device. the AIS328DQ may also be configured to generate an inertial wakeup and free-fall interrupt signal based on a programmed acceleration event along the enabled axes. both free-fall and wakeup can be available simultaneously on two different pins. 3.3 factory calibration the ic interface is factory calibrated for sensitivity (so) and zero- g level (tyoff). the trimming values are stored inside the device in non-volatile memory. when the device is turned on, the trimming parameters are downloaded into the registers to be used during active operation. this allows the device to be used without further calibration.
AIS328DQ application hints doc id 18160 rev 3 17/43 4 application hints figure 5. AIS328DQ electrical connections the device core is supplied through the vdd line while the i/o pads are supplied through the vdd_io line. power supply decoupling capacitors (100 nf ceramic, 10 f aluminum) should be placed as near as possible to pin 5 of the device (common design practice). all the voltage and ground supplies must be present at the same time to obtain proper behavior of the ic (refer to figure 5 ). it is possible to remove vdd while maintaining vdd_io without blocking the communication bus; in this condition the measurement chain is powered off. the functionality of the device and the measured acceleration data is selectable and accessible through the i2c or spi interfaces. when using the i2c, cs must be tied high. the functions, the threshold, and the timing of the two interrupt pins (int 1 and int 2) can be completely programmed by the user through the i2c/spi interface. cs vdd gnd vdd_io sdo/sa0 sda/sdi/sdo int 1 scl/spc 1 top view int 2 6 7 12 13 18 19 24 y x z 1 10uf digit a l s ign a l from/to s ign a l controller. s ign a l ?s level s a re defined b y proper s election of vdd_io 100nf am10247v1
digital interfaces AIS328DQ 18/43 doc id 18160 rev 3 5 digital interfaces the registers embedded in the AIS328DQ may be accessed through both the i2c and spi serial interfaces. the latter may be sw configured to operate either in 3-wire or 4-wire interface mode. the serial interfaces are mapped onto the same pads. to select/exploit the i2c interface, the cs line must be tied high (i.e. connected to vdd_io). 5.1 i2c serial interface the AIS328DQ i2c is a bus slave. the i2c is employed to write data into registers, the content of which can also be read back. the relevant i2c terminology is provided in ta b l e 9 below. there are two signals associated with the i2c bus: the serial clock line (scl) and the serial data line (sda). the latter is a bi-directional line used for sending and receiving the data to/from the interface. both lines are connected to vdd_io through a pull-up resistor embedded in the AIS328DQ. when the bus is free, both lines are high. the i2c interface is compliant with fast mode (400 khz) i2c standards as well as with the normal mode. table 8. serial interface pin description pin name pin description cs spi enable i2c/spi mode selection (1: i2c mode; 0: spi enabled) scl spc i2c serial clock (scl) spi serial port clock (spc) sda sdi sdo i2c serial data (sda) spi serial data input (sdi) 3-wire interface serial data output (sdo) sa0 sdo i2c less significant bit of the device address (sa0) spi serial data output (sdo) table 9. serial interface pin description term description transmitter the device which sends data to the bus receiver the device which receives data from the bus master the device which initiates a transfer, generates clock signals and terminates a transfer slave the device addressed by the master
AIS328DQ digital interfaces doc id 18160 rev 3 19/43 5.1.1 i2c operation the transaction on the bus is started through a start (st) signal. a start condition is defined as a high to low transition on the data line while the scl line is held high. after this has been transmitted by the master, the bus is considered busy. the next byte of data transmitted after the start condition contains the address of the slave in the first 7 bits and the eighth bit tells whether the master is receiving data from the slave or transmitting data to the slave. when an address is sent, each device in the system compares the first seven bits after a start condition with its address. if they match, the device considers itself addressed by the master. the slave address (sad) associated to the AIS328DQ is 001100xb. the sdo / sa0 pad can be used to modify the less significant bit of the device address. if the sa0 pad is connected to voltage supply, lsb is ?1? (address 0011001b), otherwise if the sa0 pad is connected to ground, the lsb value is ?0? (address 0011000b). this solution permits the connection and addressing of two different accelerometers to the same i2c lines. data transfer with acknowledge is mandatory. the transmitter must release the sda line during the acknowledge pulse. the receiver must then pull the data line low so that it remains stable low during the high period of the acknowledge clock pulse. a receiver which has been addressed is obliged to generate an acknowledge after each byte of data received. the i2c embedded in the AIS328DQ behaves like a slave device, and the following protocol must be adhered to. after the start condition (st) a slave address is sent. once a slave acknowledge (sak) has been returned, an 8-bit sub-address (sub) is transmitted: the 7 lsb represent the actual register address while the msb enables address auto-increment. if the msb of the sub field is ?1?, the sub (register address) is automatically increased to allow multiple data read/write. the slave address is completed with a read/write bit. if the bit is ?1? (read), a repeated start (sr) condition must be issued after the two sub-address bytes; if the bit is ?0? (write) the master transmits to the slave with direction unchanged. ta b l e 1 0 explains how the sad+read/write bit pattern is composed, listing all the possible configurations. table 10. sad+read/write patterns command sad[6:1] sad[0] = sa0 r/w sad+r/w read 001100 0 1 00110001 (31h) write 001100 0 0 00110000 (30h) read 001100 1 1 00110011 (33h) write 001100 1 0 00110010 (32h) table 11. transfer when master is writing one byte to slave master st sad + w sub data sp slave sak sak sak table 12. transfer when master is writing multiple bytes to slave master st sad + w sub data data sp slave sak sak sak sak
digital interfaces AIS328DQ 20/43 doc id 18160 rev 3 data are transmitted in byte format (data). each data transfer contains 8 bits. the number of bytes transferred per transfer is unlimited. data is transferred with the most significant bit (msb) first. if a receiver cannot receive another complete byte of data until it has performed some other function, it can hold the clock line scl low to force the transmitter into a wait state. data transfer only continues when the receiver is ready for another byte and releases the data line. if a slave receiver does not acknowledge the slave address (i.e. it is not able to receive because it is performing some real-time function) the data line must be left high by the slave. the master can then abort the transfer. a low to high transition on the sda line while the scl line is high is defined as a stop condition. each data transfer must be terminated by the generation of a stop (sp) condition. in order to read multiple bytes, it is necessary to assert the most significant bit of the sub- address field. in other words, sub(7) must be equal to 1 while sub(6-0) represents the address of the first register to be read. in the presented communication format, mak is master acknowledge and nmak is no master acknowledge. 5.2 spi bus interface the AIS328DQ spi is a bus slave. the spi allows the writing and reading of the registers of the device. the serial interface interacts with the outside world through 4 wires: cs , spc , sdi and sdo . figure 6. read and write protocol table 13. transfer when master is receiving (reading) one byte of data from slave master st sad + w sub sr sad + r nmak sp slave sak sak sak data table 14. transfer when master is receiving (reading) multiple bytes of data from slave master st sad+w sub sr sad+r mak mak nmak sp slave sak sak sak data data data cs spc sdi sdo rw ad5 ad4 ad3 ad2 ad1 ad0 di7 di6 di5 di4 di3 di2 di1 di0 do7 do6 do5 do4 do3 do2 do1 do0 ms
AIS328DQ digital interfaces doc id 18160 rev 3 21/43 cs is the serial port enable and is controlled by the spi master. it goes low at the start of the transmission and returns high at the end. spc is the serial port clock and is controlled by the spi master. it is stopped high when cs is high (no transmission). sdi and sdo are, respectively, the serial port data input and output. those lines are driven at the falling edge of spc and should be captured at the rising edge of spc . both the read register and write register commands are completed in 16 clock pulses or in multiples of 8 in cases of multiple read/write bytes. bit duration is the time between two falling edges of spc . the first bit (bit 0) starts at the first falling edge of spc , after the falling edge of cs, while the last bit (bit 15, bit 23, ...) starts at the last falling edge of spc, just before the rising edge of cs . bit 0 : rw bit. when 0, the data di(7:0) is written into the device. when 1, the data do(7:0) from the device is read. in the latter case, the chip drives sdo at the start of bit 8. bit 1 : ms bit. when 0, the address remains unchanged in multiple read/write commands. when 1, the address is auto-incremented in multiple read/write commands. bit 2-7 : address ad(5:0). this is the address field of the indexed register. bit 8-15 : data di(7:0) (write mode). this is the data that is written to the device (msb first). bit 8-15 : data do(7:0) (read mode). this is the data that is read from the device (msb first). in multiple read/write commands further blocks of 8 clock periods are added. when ms bit is ?0? the address used to read/write data remains the same for every block. when ms bit is ?1? the address used to read/write data is increased at every block. the function and the behavior of sdi and sdo remain unchanged. 5.2.1 spi read figure 7. spi read protocol the spi read command is performed with 16 clock pulses. multiple byte read commands are performed by adding blocks of 8 clock pulses to the previous one. bit 0 : read bit. the value is 1. bit 1 : ms bit. when 0, do not increment address; when 1, increment address in multiple readings. bit 2-7 : address ad(5:0). this is the address field of the indexed register. bit 8-15 : data do(7:0) (read mode). this is the data that is read from the device (msb first). bit 16-... : data do(...-8). further data in multiple byte reading. cs spc sdi sdo rw do7 do6 do5 do4 do3 do2 do1 do0 ad5 ad4 ad3 ad2 ad1 ad0 ms
digital interfaces AIS328DQ 22/43 doc id 18160 rev 3 figure 8. multiple byte spi read protocol (2-byte example) 5.2.2 spi write figure 9. spi write protocol the spi write command is performed with 16 clock pulses. multiple byte write commands are performed by adding blocks of 8 clock pulses to the previous one. bit 0 : write bit. the value is 0. bit 1 : ms bit. when 0, do not increment address; when 1, increment address in multiple writing. bit 2 -7 : address ad(5:0). this is the address field of the indexed register. bit 8-15 : data di(7:0) (write mode). this is the data that is written to the device (msb first). bit 16-... : data di(...-8). further data in multiple byte writing. figure 10. multiple bytes spi write protocol (2-byte example) cs spc sdi sdo rw do7 do6 do5 do4 do3 do2 do1 do0 ad5 ad4 ad3 ad2 ad1 ad0 do15 do14 do13 do12 do11 do10 do9 do8 ms cs spc sdi rw di7 di6 di5 di4 di3 di2 di1 di0 ad5 ad4 ad3 ad2 ad1 ad0 ms cs spc sdi rw ad5 ad4 ad3 ad2 ad1 ad0 di7 di6 di5 di4 di3 di2 di1 di0 di15 di14 di13 di12 di11 di10 di9 di8 ms
AIS328DQ digital interfaces doc id 18160 rev 3 23/43 5.2.3 spi read in 3-wire mode 3-wire mode is entered by setting to ?1? the bit sim (spi serial interface mode selection) in ctrl_reg4. figure 11. spi read protocol in 3-wire mode the spi read command is performed with 16 clock pulses: bit 0 : read bit. the value is 1. bit 1 : ms bit. when 0, do not increment address; when 1, increment address in multiple reading. bit 2-7 : address ad(5:0). this is the address field of the indexed register. bit 8-15 : data do(7:0) (read mode). this is the data that is read from the device (msb first). multiple read command is also available in 3-wire mode. note: if AIS328DQ is used in a multi-spi slave environment (several devices sharing the same spi bus), the accelerometer can be forced by software to remain in spi mode. this objective can be achieved by sending at the beginning of the spi communication the following sequence to the device: a = read(0x17) write(0x17, (0x80 or a)) the programming of this register is a possibility to enhance the robustness of the spi system. cs spc sdi/o rw do7do6do5do4do3do2do1do0 ad5 ad4 ad3 ad2 ad1 ad0 ms
register mapping AIS328DQ 24/43 doc id 18160 rev 3 6 register mapping ta b l e 1 5 below provides a list of the 8-bit registers embedded in the device, and the related addresses. registers marked as reserved must not be changed. writing to those registers may change calibration data and therefore lead to a non-proper working device. table 15. register address map name type register address default comment hex binary reserved (do not modify) 00 - 0e reserved who_am_i r 0f 000 1111 00110010 dummy register reserved (do not modify) 10 - 1f reserved ctrl_reg1 rw 20 010 0000 00000111 ctrl_reg2 rw 21 010 0001 00000000 ctrl_reg3 rw 22 010 0010 00000000 ctrl_reg4 rw 23 010 0011 00000000 ctrl_reg5 rw 24 010 0100 00000000 hp_filter_reset r 25 010 0101 dummy register reference rw 26 010 0110 00000000 status_reg r 27 010 0111 00000000 out_x_l r 28 010 1000 output out_x_h r 29 010 1001 output out_y_l r 2a 010 1010 output out_y_h r 2b 010 1011 output out_z_l r 2c 010 1100 output out_z_h r 2d 010 1101 output reserved (do not modify) 2e - 2f reserved int1_cfg rw 30 011 0000 00000000 int1_source r 31 011 0001 00000000 int1_ths rw 32 011 0010 00000000 int1_duration rw 33 011 0011 00000000 int2_cfg rw 34 011 0100 00000000 int2_source r 35 011 0101 00000000 int2_ths rw 36 011 0110 00000000 int2_duration rw 37 011 0111 00000000 reserved (do not modify) 38 - 3f reserved
AIS328DQ register mapping doc id 18160 rev 3 25/43 the content of the registers that are loaded at boot should not be changed. they contain the factory calibrated values. their content is automatically restored when the device is powered up.
register description AIS328DQ 26/43 doc id 18160 rev 3 7 register description the device contains a set of registers which are used to control its behavior and to retrieve acceleration data. the register addresses, composed of 7 bits, are used to identify the device and to write the data through the serial interface. 7.1 who_am_i (0fh) this is the device identification register. this register contains the device identifier, which for the AIS328DQ is set to 32h. 7.2 ctrl_reg1 (20h) pm bits allow selection between power-down and two operating active modes. the device is in power-down mode when the pd bits are set to ?000? (default value after boot). ta bl e 1 9 shows all the possible power mode configurations and respective output data rates. output data in the low-power modes are computed with the low-pass filter cut-off frequency defined by the dr1 and dr0 bits. dr bits, in normal-mode operation, select the data rate at which acceleration samples are produced. in low-power mode they define the output data resolution. ta b l e 2 0 shows all the possible configurations for the dr1 and dr0 bits. table 16. who_am_i register 00110010 table 17. ctrl_reg1 register pm2 pm1 pm0 dr1 dr0 zen yen xen table 18. ctrl_reg1 description pm2 - pm0 power mode selection. default value: 000 (000: power-down; others: refer to ta b l e 1 9 ) dr1, dr0 data rate selection. default value: 00 (00:50 hz; others: refer to ta bl e 2 0 ) zen z-axis enable. default value: 1 (0: z-axis disabled; 1: z-axis enabled) ye n y-axis enable. default value: 1 (0: y-axis disabled; 1: y-axis enabled) xen x-axis enable. default value: 1 (0: x-axis disabled; 1: x-axis enabled)
AIS328DQ register description doc id 18160 rev 3 27/43 7.3 ctrl_reg2 (21h) table 19. power mode and low-power output data rate configurations pm2 pm1 pm0 power mode selection output data rate [hz] odr lp 0 0 0 power-down -- 0 0 1 normal mode odr 0 1 0 low-power 0.5 0 1 1 low-power 1 1 0 0 low-power 2 1 0 1 low-power 5 1 1 0 low-power 10 table 20. normal-mode output data rate configurations and low-pass cut-off frequencies dr1 dr0 output data rate [hz] odr low-pass filter cut-off frequency [hz] 00 50 37 01 100 74 10 400 292 1 1 1000 780 table 21. ctrl_reg2 register boot hpm1 hpm0 fds hpen2 hpen1 hpcf1 hpcf0 table 22. ctrl_reg2 description boot reboot memory content. default value: 0 (0: normal mode; 1: reboot memory content) hpm1, hpm0 high-pass filter mode selection. default value: 00 (00: normal mode; others: refer to ta bl e 2 3 ) fds filtered data selection. default value: 0 (0: internal filter bypassed; 1: data from internal filter sent to output register) hpen2 high-pass filter enabled for interrupt 2 source. default value: 0 (0: filter bypassed; 1: filter enabled) hpen1 high-pass filter enabled for interrupt 1 source. default value: 0 (0: filter bypassed; 1: filter enabled) hpcf1, hpcf0 high-pass filter cut-off frequency configuration. default value: 00 (00: hpc=8; 01: hpc=16; 10: hpc=32; 11: hpc=64)
register description AIS328DQ 28/43 doc id 18160 rev 3 the boot bit is used to refresh the content of internal registers stored in the flash memory block. at device power-up, the content of the flash memory block is transferred to the internal registers related to the trimming functions, to permit good behavior of the device. if for any reason the content of the trimming register is changed, this bit can be used to restore the correct values. when the boot bit is set to ?1? the content of the internal flash is copied to the corresponding internal registers and is used to calibrate the device. these values are factory-trimmed and they are different for every accelerometer. they permit good behavior of the device and normally do not need to be modified. at the end of the boot process, the boot bit is again set to ?0?. hpcf[1:0] . these bits are used to configure the high-pass filter cut-off frequency f t which is given by: the equation can be simplified to the following approximated equation: 7.4 ctrl_reg3 [interrupt ctrl register] (22h) table 23. high-pass filter mode configuration hpm1 hpm0 high-pass filter mode 0 0 normal mode (reset reading hp_reset_filter) 0 1 reference signal for filtering 1 0 normal mode (reset reading hp_reset_filter) table 24. high-pass filter cut-off frequency configuration hpcoeff2,1 f t [hz] data rate = 50 hz f t [hz] data rate = 100 hz f t [hz] data rate = 400 hz f t [hz] data rate = 1000 hz 00 1 2 8 20 01 0.5 1 4 10 10 0.25 0.5 2 5 11 0.125 0.25 1 2.5 f t 1 1 hpc ----------- - ? ?? ?? f s 2 ------ ? ln = f t f s 6hpc ? ---------------------- = table 25. ctrl_reg3 register ihl pp_od lir2 i2_cfg1 i2_cfg0 lir1 i1_cfg1 i1_cfg0
AIS328DQ register description doc id 18160 rev 3 29/43 7.5 ctrl_reg4 (23h) table 26. ctrl_reg3 description ihl interrupt active high, low. default value: 0 (0: active high; 1: active low) pp_od push-pull/open drain selection on interrupt pad. default value 0. (0: push-pull; 1: open drain) lir2 latch interrupt request on the int2_src register, with the int2_src register cleared by reading int2_src itself. default value: 0. (0: interrupt request not latched; 1: interrupt request latched) i2_cfg1, i2_cfg0 data signal on int 2 pad control bits. default value: 00. (see ta bl e 2 7 ) lir1 latch interrupt request on the int1_src register, with the int1_src register cleared by reading the int1_src register. default value: 0. (0: interrupt request not latched; 1: interrupt request latched) i1_cfg1, i1_cfg0 data signal on int 1 pad control bits. default value: 00. (see ta bl e 2 7 ) table 27. data signal on int 1 and int 2 pad i1(2)_cfg1 i1(2)_cfg0 int 1(2) pad 0 0 interrupt 1 (2) source 0 1 interrupt 1 source or interrupt 2 source 1 0 data ready 1 1 boot running table 28. ctrl_reg4 register bdu ble fs1 fs0 stsign 0 st sim table 29. ctrl_reg4 description bdu block data update. default value: 0 (0: continuous update; 1: output registers not updated between msb and lsb reading) ble big/little endian data selection. default value 0. (0: data lsb @ lower address; 1: data msb @ lower address) fs1, fs0 full-scale selection. default value: 00. (00: 2 g ; 01: 4 g ; 11: 8 g ) stsign self-test sign. default value: 00. (0: self-test plus; 1 self-test minus)
register description AIS328DQ 30/43 doc id 18160 rev 3 the bdu bit is used to inhibit the output register update between the reading of upper and lower register parts. in default mode (bdu = ?0?), the lower and upper register parts are updated continuously. if it is not certain to read faster than output data rate, it is recommended to set the bdu bit to ?1?. in this way, after the reading of the lower (upper) register part, the content of that output register is not updated until the upper (lower) part is read also. this feature prevents the reading of lsb and msb related to different samples. 7.6 ctrl_reg5 (24h) turnon bits are used for turning on the sleep-to-wake function. by setting turnon[1:0] bits to 11, the ?sleep-to-wake? function is enabled. when an interrupt event occurs, the device is switched to normal mode, increasing the odr to the value defined in ctrl_reg1. although the device is in normal mode, the ctrl_reg1 content is not automatically changed to ?normal mode? configuration. 7.7 hp_filter_reset (25h) dummy register. reading at this address instantaneously zeroes the content of the internal high-pass filter. if the high-pass filter is enabled, all three axes are instantaneously set to 0 g. this makes it possible to surmount the settling time of the high-pass filter. st self-test enable. default value: 0. (0: self-test disabled; 1: self-test enabled) sim spi serial interface mode selection. default value: 0. (0: 4-wire interface; 1: 3-wire interface) table 29. ctrl_reg4 description (continued) table 30. ctrl_reg5 register 000000turnon1turnon0 table 31. ctrl_reg5 description turnon1, tu r n o n 0 turn-on mode selection for sleep-to-wake function. default value: 00. table 32. sleep-to-wake configuration turnon1 turnon0 sleep-to-wake status 0 0 sleep-to-wake function is disabled 11 turned on: the device is in low power mode (odr is defined in ctrl_reg1)
AIS328DQ register description doc id 18160 rev 3 31/43 7.8 reference (26h) this register sets the acceleration value taken as a reference for the high-pass filter output. when the filter is turned on (at least one fds, hpen2, or hpen1 bit is equal to ?1?) and hpm bits are set to ?01?, filter out is generated taking this value as a reference. 7.9 status_reg (27h) table 33. reference register ref7 ref6 ref5 ref4 ref3 ref2 ref1 ref0 table 34. reference description ref7 - ref0 reference value for high-pass filter. default value: 00h. table 35. status_reg register zyxor zor yor xor zyxda zda yda xda table 36. status_reg description zyxor x, y and z-axis data overrun. default value: 0 (0: no overrun has occurred; 1: new data has overwritten the previous one before it was read) zor z-axis data overrun. default value: 0 (0: no overrun has occurred; 1: new data for the z-axis has overwritten the previous one) yor y-axis data overrun. default value: 0 (0: no overrun has occurred; 1: new data for the y-axis has overwritten the previous one) xor x-axis data overrun. default value: 0 (0: no overrun has occurred; 1: new data for the x-axis has overwritten the previous one) zyxda x, y and z-axis new data available. default value: 0 (0: a new set of data is not yet available; 1: a new set of data is available) zda z-axis new data available. default value: 0 (0: new data for the z-axis is not yet available; 1: new data for the z-axis is available) yda y-axis new data available. default value: 0 (0: new data for the y-axis is not yet available; 1: new data for the y-axis is available) xda x-axis new data available. default value: 0 (0: new data for the x-axis is not yet available; 1: new data for the x-axis is available)
register description AIS328DQ 32/43 doc id 18160 rev 3 7.10 out_x_l (28h), out_x_h (29) x-axis acceleration data. the value is expressed as 2?s complement. 7.11 out_y_l (2ah), out_y_h (2bh) y-axis acceleration data. the value is expressed as 2?s complement. 7.12 out_z_l (2ch), out_z_h (2dh) z-axis acceleration data. the value is expressed as 2?s complement. 7.13 int1_cfg (30h) configuration register for interrupt 1 source. table 37. int1_cfg register aoi 6d zhie zlie yhie ylie xhie xlie table 38. int1_cfg description aoi and/or combination of interrupt events. default value: 0. (see ta bl e 3 9 ) 6d 6 direction detection function enable. default value: 0. (see ta bl e 3 9 ) zhie enable interrupt generation on z high event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value higher than preset threshold) zlie enable interrupt generation on z low event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value lower than preset threshold) yhie enable interrupt generation on y high event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value higher than preset threshold) ylie enable interrupt generation on y low event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value lower than preset threshold) xhie enable interrupt generation on x high event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value higher than preset threshold) xlie enable interrupt generation on x low event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value lower than preset threshold)
AIS328DQ register description doc id 18160 rev 3 33/43 7.14 int1_src (31h) interrupt 1 source register. read-only register. reading at this address clears the int1_src ia bit (and the interrupt signal on the int 1 pin) and allows the refreshing of data in the int1_src register if the latched option was chosen. 7.15 int1_ths(32h) table 39. interrupt 1 source configurations aoi 6d interrupt mode 0 0 or combination of interrupt events 0 1 6-direction movement recognition 1 0 and combination of interrupt events 1 1 6-direction position recognition table 40. int1_src register 0 ia zhzlyhylxhxl table 41. int1_src description ia interrupt active. default value: 0 (0: no interrupt has been generated; 1: one or more interrupts have been generated) zh z high. default value: 0 (0: no interrupt, 1: z high event has occurred) zl z low. default value: 0 (0: no interrupt; 1: z low event has occurred) yh y high. default value: 0 (0: no interrupt, 1: y high event has occurred) yl y low. default value: 0 (0: no interrupt, 1: y low event has occurred) xh x high. default value: 0 (0: no interrupt, 1: x high event has occurred) xl x low. default value: 0 (0: no interrupt, 1: x low event has occurred) table 42. int1_ths register 0 ths6 ths5 ths4 ths3 ths2 ths1 ths0
register description AIS328DQ 34/43 doc id 18160 rev 3 7.16 int1_duration (33h) the d6 - d0 bits set the minimum duration of the interrupt 2 event to be recognized. duration steps and maximum values depend on the odr chosen. 7.17 int2_cfg (34h) table 43. int1_ths description ths6 - ths0 interrupt 1 threshold. default value: 000 0000 table 44. int1_duration register 0 d6d5d4d3d2d1d0 table 45. int2_duration description d6 - d0 duration value. default value: 000 0000 table 46. int2_cfg register aoi 6d zhie zlie yhie ylie xhie xlie table 47. int2_cfg description aoi and/or combination of interrupt events. default value: 0. (see ta bl e 4 8 ) 6d 6-direction detection function enable. default value: 0. (see ta bl e 4 8 ) zhie enable interrupt generation on z high event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value higher than preset threshold) zlie enable interrupt generation on z low event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value lower than preset threshold) yhie enable interrupt generation on y high event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value higher than preset threshold) ylie enable interrupt generation on y low event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value lower than preset threshold) xhie enable interrupt generation on x high event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value higher than preset threshold) xlie enable interrupt generation on x low event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value lower than preset threshold)
AIS328DQ register description doc id 18160 rev 3 35/43 configuration register for interrupt 2 source. 7.18 int2_src (35h) interrupt 2 source register. read only register. reading at this address clears the int2_src ia bit (and the interrupt signal on the int 2 pin) and allows the refreshing of data in the int2_src register if the latched option was chosen. 7.19 int2_ths (36h) table 48. interrupt mode configuration aoi 6d interrupt mode 0 0 or combination of interrupt events 0 1 6-direction movement recognition 1 0 and combination of interrupt events 1 1 6-direction position recognition table 49. int2_src register 0 ia zhzlyhylxhxl table 50. int2_src description ia interrupt active. default value: 0 (0: no interrupt has been generated; 1: one or more interrupts have been generated) zh z high. default value: 0 (0: no interrupt, 1: z high event has occurred) zl z low. default value: 0 (0: no interrupt; 1: z low event has occurred) yh y high. default value: 0 (0: no interrupt, 1: y high event has occurred) yl y low. default value: 0 (0: no interrupt, 1: y low event has occurred) xh x high. default value: 0 (0: no interrupt, 1: x high event has occurred) xl x low. default value: 0 (0: no interrupt, 1: x low event has occurred) table 51. int2_ths register 0 ths6 ths5 ths4 ths3 ths2 ths1 ths0
register description AIS328DQ 36/43 doc id 18160 rev 3 7.20 int2_duration (37h) the d6 - d0 bits set the minimum duration of the interrupt 2 event to be recognized. duration time steps and maximum values depend on the odr chosen. table 52. int2_ths description ths6 - ths0 interrupt 1 threshold. default value: 000 0000 table 53. int2_duration register 0 d6d5d4d3d2d1d0 table 54. int2_duration description d6 - d0 duration value. default value: 000 0000
AIS328DQ package information doc id 18160 rev 3 37/43 8 package information in order to meet environmental requirements, st offers these devices in different grades of ecopack ? packages, depending on their level of environmental compliance. ecopack specifications, grade definitions and product status are available at: www.st.com. ecopack is an st trademark.
package information AIS328DQ 38/43 doc id 18160 rev 3 figure 12. qfpn 4x4x1.8mm 3 , 24l: mechanical data and package dimensions dim. mm min. typ. max. a 1.75 1. 8 01. 8 5 a1 0.00 0.05 a 3 0.20 3 ref b 0.20 0.25 0. 3 0 d 4.00 bs c d2 2.20 2. 3 0 2.40 e 4.00 bs c e2 2.20 2. 3 0 2.40 e 0.50 bs c l0. 3 5 0.40 0.45 aaa 0.10 eee 0.0 8 qfpn-24 (4x4x1. 8 mm 3 ) quad flat packa g e no lead 8 212912_c
AIS328DQ soldering information doc id 18160 rev 3 39/43 9 soldering information the qfpn-24 package is compliant with the ecopack ? , rohs and ?green? standard. it is qualified for soldering heat resistance according to jedec j-std-020c, in msl3 condi- tions. for complete land pattern and soldering recommendations, please refer to the tn0019 technical note tn0019 available on www.st.com . 9.1 general guidelines about soldering surface-mounted accelerometers as common pcb design and industrial practice when considering accelerometer soldering, there are always 3 elements to take into consideration: 1. pcb with its own conductive layers (i.e. copper) and other organic materials used for board protection and dielectric isolation. 2. accelerometer to be mounted on the board. the accelerometer senses accelera- tion, but it senses also the mechanical stress coming from the board. this stress is mini- mized with simple pcb design rules. 3. soldering paste like snagcu. this soldering paste can be dispensed on the board with a screen printing method through a stencil. the pattern of the soldering paste on the pcb is given by the stencil mask itself. 9.2 pcb design guidelines pcb land and solder masking general recommendations are shown in figure 13 . refer to figure 12 for specific device size, land count and pitch. it is recommended to open solder mask external to pcb land it is mandatory, for correct device functionality, to ensure that some clearance is present between the accelerometer thermal pad and pcb. in order to obtain this clearance it is recommended to open the pcb thermal pad solder mask the area below the sensor (on the same side of the board) must be defined as keepout area. it is strongly recommended not to place any structure in the top metal layer underneath the sensor traces connected to pads should be as symmetrical as possible. symmetry and balance for pad connection helps component self alignment and leads to a better control of solder paste reduction after reflow for better performances over temperature it is strongly recommended not to place large insertion components like buttons or shielding boxes at distances less than 2 mm from the sensor central die pad and ?pin 1 indicator? are physically connected to gnd. leave ?pin 1 indicator? unconnected during soldering.
soldering information AIS328DQ 40/43 doc id 18160 rev 3 9.2.1 pcb design rules figure 13. recommended land and solder mask design for qfpn packages a = clearance from pcb land edge to solder mask opening 0.1 mm to ensure that some solder mask remains between pcb pads b = pcb land length = qfpn solder pad length + 0.1 mm c = pcb land width = qfpn solder pad width + 0.1 mm d = pcb thermal pad solder mask opening = qfpn thermal pad side + 0.2 mm 9.3 stencil design and solder paste application the thickness and the pattern of the soldering paste are important for proper accelerometer mounting process. package footprint pcb land s older ma s k opening pcb thermal pad not to be de s igned on pcb pcb thermal pad s older ma s k opening s ugge s ted to increa s e device thermal pad to pcb clearance a b c d am10242v1
AIS328DQ soldering information doc id 18160 rev 3 41/43 stainless steel stencils are recommended for solder paste applications a stencil thickness of 125 - 150 m (5 - 6 mils) is recommended for screen printing the final thickness of soldering paste should allow proper cleaning of flux residuals and clearance between sensor package and pcb stencil aperture should have a rectangular shape with a dimension up to 25 m (1mil) smaller than pcb land the openings of the stencil for the signal pads should be between 50% and 80% of the pcb pad area optionally, for better solder paste release, the aperture walls should be trapezoidal and the corners rounded the fine pitch of the ic leads requires accurate alignment of the stencil to the printed circuit board. the stencil and printed circuit assembly should be aligned to within 25 m (1 mil) prior to application of the solder paste. 9.4 process considerations in the case of using no self-cleaning solder paste, it is mandatory to properly wash the board after soldering to eliminate any possible source of leakage between adjacent pads due to flux residues the pcb soldering profile depends on the number, size and placement of components in the application board. it is not functional to define a specific soldering profile for the accelerometer only. the user should use a time and temperature reflow profile that is derived from the pcb design and manufacturing experience.
revision history AIS328DQ 42/43 doc id 18160 rev 3 10 revision history table 55. document revision history date revision changes 26-oct-2010 1 initial release. 26-jan-2012 2 updated figure 2: detectable accelerations and pin indicator and figure 12: qfpn 4x4x1.8mm 3 , 24l: mechanical data and package dimensions . updated table 2: pin description , table 3: mechanical characteristics , table 4: electrical characteristics and ta bl e 6 : i 2 c slave timing values . added new section 9: soldering information . document promoted from preliminary data to datasheet. 13-apr-2012 3 minor text changes in section 4: application hints .
AIS328DQ doc id 18160 rev 3 43/43 please read carefully: information in this document is provided solely in connection with st products. stmicroelectronics nv and its subsidiaries (?st ?) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described he rein at any time, without notice. all st products are sold pursuant to st?s terms and conditions of sale. purchasers are solely responsible for the choice, selection and use of the st products and services described herein, and st as sumes no liability whatsoever relating to the choice, selection or use of the st products and services described herein. no license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. i f any part of this document refers to any third party products or services it shall not be deemed a license grant by st for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoev er of such third party products or services or any intellectual property contained therein. unless otherwise set forth in st?s terms and conditions of sale st disclaims any express or implied warranty with respect to the use and/or sale of st products including without limitation implied warranties of merchantability, fitness for a particular purpose (and their equivalents under the laws of any jurisdiction), or infringement of any patent, copyright or other intellectual property right. unless expressly approved in writing by two authorized st representatives, st products are not recommended, authorized or warranted for use in military, air craft, space, life saving, or life sustaining applications, nor in products or systems where failure or malfunction may result in personal injury, death, or severe property or environmental damage. st products which are not specified as "automotive grade" may only be used in automotive applications at user?s own risk. resale of st products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by st for the st product or service described herein and shall not create or extend in any manner whatsoev er, any liability of st. st and the st logo are trademarks or register ed trademarks of st in various countries. information in this document supersedes and replaces all information previously supplied. the st logo is a registered trademark of stmicroelectronics. all other names are the property of their respective owners. ? 2012 stmicroelectronics - all rights reserved stmicroelectronics group of companies australia - belgium - brazil - canada - china - czech republic - finland - france - germany - hong kong - india - israel - ital y - japan - malaysia - malta - morocco - philippines - singapore - spain - sweden - switzerland - united kingdom - united states of america www.st.com


▲Up To Search▲   

 
Price & Availability of AIS328DQ

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X